

package com.hazelcast.internal.config;

import com.hazelcast.config.AttributeConfig;

/**
 * Contains the configuration for an extractor of Map.
 */
public class AttributeConfigReadOnly extends AttributeConfig {

    public AttributeConfigReadOnly(AttributeConfig config) {
        super(config);
    }

    @Override
    public AttributeConfig setName(String attribute) {
        throw new UnsupportedOperationException("This config is read-only");
    }

    @Override
    public AttributeConfig setExtractorClassName(String extractorClassName) {
        throw new UnsupportedOperationException("This config is read-only");
    }
}
